# -*- coding: utf-8 -*-

"""
Module implementing BookDialog.
"""

from PyQt4.QtCore import pyqtSlot
from PyQt4.QtGui import QDialog

from .Ui_BookDialog import Ui_BookDialog

class BookDialog(QDialog, Ui_BookDialog):
    """
    Class documentation goes here.
    """
    def __init__(self, parent = None):
        """
        Constructor
        
        @param parent reference to the parent widget (QWidget)
        """
        QDialog.__init__(self, parent)
        self.setupUi(self)
        self.accepted = False
        self.BookTitleEdit.setText('')
